package com.dobbinsoft.iotechn.device.mqtt.serializer;

import java.util.List;

/**
 * Description:
 * User: rize
 * Date: 2020/6/22
 * Time: 14:52
 */
public interface IotMqttSerializer {

    public <T> byte[] toBytes(T t);

    public <T> byte[] toBytes(List<T> t);

}
